# num = 0
# while num <= 10:
#     print(num)
#     num+=1

total= num = 0
total_ou = total_ji = 0
while num <= 100:
    if num % 2 == 0:
        total_ou += num
    else:
        total_ji += num
    num +=1
total = total_ou + total_ji
print(total)
print(total_ou)
print(total_ji)